package week5;
import java.lang.String;
/**
 * Created by dell on 2017/3/26.
 */
public class TestPerson{
    String name = "Justin";
    private String TestPerson(String name){
        this.name = name;
        return this.getName();
    }
    public void setName(String nameStr){
        this.name = nameStr;
    }
    public String getName(){
        return this.name;
    }
    public static void main(String[] args){
        TestPerson personObj = new TestPerson();
        String personName = null;
        personName=personObj.getName();
        assert personName!=null;
        System.out.println(personName.length());
    }
}